package com.crane.oss.app.bean.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @Author: zx
 * @Date: 2023/01/26/20:45
 * @Description:
 */
@ApiModel(description = "添加评论")
@Getter
@Setter
@ToString
public class AppCommitCommentReq {

    @ApiModelProperty(value = "评语", name = "teacherComment")
    @NotNull(message = "请为学生点评")
    private String teacherComment;

    @ApiModelProperty(value = "评分", name = "star")
    @NotNull(message = "请为学生评分")
    private int star;

    @ApiModelProperty(value = "学生任务id列表", name = "studentTaskIds")
    @NotNull(message = "请选择批改的学生信息")
    private List<Long> studentTaskIds;

    @ApiModelProperty(hidden = true)
    private Long opUserId;
}
